<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			body {
			  display: flex;
			  height: 100vh;
			  justify-content: center;
			  align-items: center;
			  text-align: center;
			  background: #2980b9;
			}
			
			.loading {
			  display: flex;
			  color: white;
			  font-size: 3em;
			  text-transform: uppercase;
			}
			.loading span {
			  padding: 0 20px;
			  line-height: 100px;
			  background: #34495e;
			  animation: bulge 2s infinite;
			}
			
			@keyframes bulge {
			  50% {
			    box-shadow: 0 20px 0 #eee;
			    transform: translateY(-35px);
			  }
			}
		</style>
	</head>
	<body>
		<div class="loading">你做三四月的事，在八九月自有答案</div>
	</body>
</html>
<script>
	"use strict";
	let loading = document.querySelector(".loading");
	let letters = loading.textContent.split("");
	loading.textContent = "";
	letters.forEach((letter, i) => {
	    let span = document.createElement("span");
	    span.textContent = letter;
	    span.style.animationDelay = `${i / 5}s`;
	    loading.append(span);
	});

</script>
